// 自动生成模板Protocol_management
package system

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// 协议管理 结构体  Protocol_management
type Protocol_management struct {
	global.GVA_MODEL
	Device_id       *string `json:"device_id" form:"device_id" gorm:"column:device_id;size:20;"`             //设备ID
	Device_name     *string `json:"device_name" form:"device_name" gorm:"column:device_name;size:30;"`       //设备名称
	Protocol_desc   *string `json:"protocol_desc" form:"protocol_desc" gorm:"column:protocol_desc;size:50;"` //协议描述
	Protocol_status *string `json:"protocol_status" form:"protocol_status" gorm:"column:protocol_status;"`   //发布状态
}

// TableName 协议管理 Protocol_management自定义表名 protocol_management
func (Protocol_management) TableName() string {
	return "protocol_management"
}
